using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;


namespace OA.Model
{
    /// <summary>
    /// 聊天消息
    /// </summary>
    public class Chat:Base
    {
        /// <summary>
        /// ID
        /// </summary>
        public virtual int ID { get; set; }

        /// <summary>
        /// 发送人
        /// </summary>
        public virtual string SendUserName { get; set; }

        /// <summary>
        /// 接收人
        /// </summary>
        public virtual string ReceivedUserName { get; set; }

        /// <summary>
        /// 内容
        /// </summary>
        public virtual string Message { get; set; }

        /// <summary>
        /// 是否已接收
        /// </summary>
        public virtual bool IsReceived { get; set; }

        /// <summary>
        /// 发送时间
        /// </summary>
        public virtual DateTime SendTime { get; set; }        

        /// <summary>
        /// 发送人
        /// </summary>
        public virtual Manager Send { get; set; }

        /// <summary>
        /// 接收人
        /// </summary>
        public virtual Manager Received { get; set; }

    }
}
